package com.gjy.concurrency.clazz;

import org.junit.jupiter.api.Test;

import java.util.concurrent.BlockingDeque;
import java.util.concurrent.LinkedBlockingDeque;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-05-18 09:55:31
 */
public class BlockingDequeTest {

    @Test
    public void test1() {
        BlockingDeque<Integer> deque
                = new LinkedBlockingDeque<>();
        deque.add(3);
        deque.add(5);

        System.out.println(deque);
    }
}
